When transitioning from AppDisplay to Session,
AppDisplay should be visible throughout the transition.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4214
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1886>
if (!stateTransitionParams)
stateTransitionParams = this._stateAdjustment.getStateTransitionParams();
- const { currentState, finalState } = stateTransitionParams;
- const state = Math.max(currentState, finalState);
+ const { initialState, finalState } = stateTransitionParams;
+ const state = Math.max(initialState, finalState);
this._appDisplay.visible =
state > ControlsState.WINDOW_PICKER &&